<style>
    body{
        background-color: #f9f9f9;
    }
    .xh-form .btn{
        margin-right: 0px;
    }
    .textbox-text .textbox-prompt{
        color: white;
    }
    .form-control[readonly]{
        background-color: white;
    }
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    .fa{
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }
    .combo{
        border-radius:4px
    }
    .btn.disabled{
        opacity: 0.2;
    }
</style>
<script>
    var carInfo={{ carInfo }};
    {{ check }}
    var leavers = {{ leavers }};
</script>
<form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table >
            <tr>
                <td style="width: 75px"><label>申请部门</label></td>
                <td style="width: 250px">
                    <input name="sDepName" type="text" value="{{ sDepName }}" readonly >
                </td>
                <td style="width: 75px"><label>申请人</label></td>
                <td style="width: 250px"><input name="sApplyName"  type="text" value="{{ userName }}" readonly></td>
                <td style="display: none"><input name="iUCId" type="text"></td>
                <td style="display: none"><input name="iDepId" type="text" value="{{ iDepId }}"></td>
                <td style="display: none"><input name="iState" type="text" value="1"></td>
            </tr>
            <tr>
                <td><label>开始时间</label></td>
                <td><input name="tStartTime" class="form-date" type="text" must="true" readonly></td>
                <td><label>结束时间</label></td>
                <td><input name="tEndTime" class="form-date"   type="text" must="true" readonly></td>
            </tr>
            <tr>
                <td><label>车主</label></td>
                <td>
                    <select id="sCarOwner" class="easyui-combotree" name="sCarOwner"  style="width:100%;height: 34px">
                    </select>
                </td>
                <td><label>车牌</label></td>
                <td>
                    <input  type="text" name="sCarPlate" must="true">
                </td>
            </tr>
            <tr>
                <td><label>车型</label></td>
                <td colspan="3">
                    <input type="text" name="sCarType"  placeholder="品牌/车型/几座/排量">
                </td>
                <td>
                    <label style="color: red">品牌(中文)/车型(中英数字)/几座(中英数字)/排量(中英数字)</label>
                </td>
            </tr>

            <tr>
                <td><label>出行人员</label></td>
                <td colspan="3">
                    <select id="sTravellers"  name="sTravellers[]" multiple="multiple" style="width:100%;height: 34px">
                    </select>
                </td>
            </tr>

            <tr>
                <td><label>申请事由</label></td>
                <td colspan="3"><textarea name="mReason" type="text" rows="2" must="true"></textarea></td>
            </tr>
            <tr>
                <td><label>学校</label></td>
                <td>
                    <select name="iCUId"  >
                        <option value="" style="display: none" selected>请选择</option>
                        {% for id,text in custInfo %}
                            <option value="{{ id }}">{{ text }}</option>
                        {% endfor %}
                    </select>
                </td>
                <td><label>省</label></td>
                <td>
                    <select id="provinceSelect" >
                        <option value="" style="display: none;" selected>请选择</option>
                    </select>
                    <input name="sProvince" type="hidden">
                </td>
            </tr>
            <tr>
                <td><label>市</label></td>
                <td>
                    <select id="citySelect" >
                        <option value="" style="display: none" selected>请选择</option>
                    </select>
                    <input name="sCity" type="hidden">
                </td>
                <td><label>区</label></td>
                <td>
                    <select id="countrySelect" >
                        <option value="" style="display: none" selected>请选择</option>
                    </select>
                    <input name="sCountry" type="hidden">
                </td>
            </tr>
            <tr>
                <td><label>详细地址</label></td>
                <td colspan="3"><textarea name="mDestination" type="text" rows="2" must="true"></textarea></td>
            </tr>
            <tr>
                <td></td>
                <td colspan="3">
                    {% if fixBtn is defined %}
                        {{ fixBtn }}
                    {% endif %}
                    <a id="bt_form_save" class="btn-load" style="display: none">保存</a>
                    <a id="bt_form_add" class="btn-load" >提交</a>
                    <a id="bt_form_back"  >返回</a>
                    <a id="bt_form_desc"  style="display: none">查看审批信息</a>
                </td>
            </tr>


        </table>
    </div>
</form>